package com.ruoyi.production.domain.fertilizer;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 化肥量对象 fertilizer_amount
 *
 * @author ruoyi
 * @date 2021-07-12
 */
public class FertilizerAmount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long fertilizerAmountId;

    /** 肥料类型 */
    @Excel(name = "肥料类型编号")
    private Long fertilizerTypeId;
    @Excel(name = "肥料类型")
    private String fertilizerType;

    /** 肥料名称 */
    @Excel(name = "肥料名称编号")
    private Long fertilizerNameId;
    @Excel(name = "肥料名称")
    private String fertilizerName;

    /** NPK含量 */
    @Excel(name = "NPK含量")
    private String npkContent;

    /** 肥料品牌 */
    @Excel(name = "肥料品牌")
    private String brand;

    /** 购自公司 */
    @Excel(name = "购自公司")
    private String originCompany;

    /** 库存量 */
    @Excel(name = "库存量")
    private Double storageAmount;

    public void setFertilizerAmountId(Long fertilizerAmountId)
    {
        this.fertilizerAmountId = fertilizerAmountId;
    }

    public Long getFertilizerAmountId()
    {
        return fertilizerAmountId;
    }
    public void setFertilizerTypeId(Long fertilizerTypeId)
    {
        this.fertilizerTypeId = fertilizerTypeId;
    }

    public Long getFertilizerTypeId()
    {
        return fertilizerTypeId;
    }

    public void setFertilizerType(String fertilizerType) {
        this.fertilizerType = fertilizerType;
    }
    public String getFertilizerType() {
        return fertilizerType;
    }

    public void setFertilizerNameId(Long fertilizerNameId)
    {
        this.fertilizerNameId = fertilizerNameId;
    }
    public Long getFertilizerNameId()
    {
        return fertilizerNameId;
    }

    public void setFertilizerName(String fertilizerName) {
        this.fertilizerName = fertilizerName;
    }
    public String getFertilizerName() {
        return fertilizerName;
    }

    public void setNpkContent(String npkContent)
    {
        this.npkContent = npkContent;
    }

    public String getNpkContent()
    {
        return npkContent;
    }
    public void setBrand(String brand)
    {
        this.brand = brand;
    }

    public String getBrand()
    {
        return brand;
    }
    public void setOriginCompany(String originCompany)
    {
        this.originCompany = originCompany;
    }

    public String getOriginCompany()
    {
        return originCompany;
    }
    public void setStorageAmount(Double storageAmount)
    {
        this.storageAmount = storageAmount;
    }

    public Double getStorageAmount()
    {
        return storageAmount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fertilizerAmountId", getFertilizerAmountId())
            .append("fertilizerTypeId", getFertilizerTypeId())
            .append("fertilizerNameId", getFertilizerNameId())
            .append("npkContent", getNpkContent())
            .append("brand", getBrand())
            .append("originCompany", getOriginCompany())
            .append("storageAmount", getStorageAmount())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
